package com.bfly.mall.order.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.bfly.core.base.entity.BaseEntity;

import java.io.Serializable;

/**
 * 订单地址
 *
 * @author 长沙商脉科技有限公司
 * @date 2020/4/17 15:54
 */
@TableName(value = "orders_address", resultMap = "OrderAddressResultMap")
public class OrderAddress implements Serializable {
    private static final long serialVersionUID = -1111573967352388237L;

    @TableId(value = "id",type = IdType.AUTO)
    private int id;

    /**
     * 订单编号
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:55
     */
    @TableField("order_no")
    private String orderNo;

    /**
     * 收货人手机号码
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/3/23 0023 下午 3:47
     */
    @TableField("phone")
    private String phone;

    /**
     * 收货人名称
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:26
     */
    @TableField("consignee")
    private String consignee;

    /**
     * 省份
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:26
     */
    @TableField("province")
    private String province;

    @TableField("province_id")
    private int provinceId;

    /**
     * 城市
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:27
     */
    @TableField("city")
    private String city;

    @TableField("city_id")
    private int cityId;

    /**
     * 区县
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:27
     */
    @TableField("district")
    private String district;

    @TableField("district_id")
    private int districtId;

    /**
     * 详细地址
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:27
     */
    @TableField("address")
    private String address;

    /**
     * 邮编
     *
     * @author 长沙商脉科技有限公司
     * @date 2020/4/17 15:28
     */
    @TableField("post_code")
    private String postCode;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getProvinceId() {
        return provinceId;
    }

    public void setProvinceId(int provinceId) {
        this.provinceId = provinceId;
    }

    public int getCityId() {
        return cityId;
    }

    public void setCityId(int cityId) {
        this.cityId = cityId;
    }

    public int getDistrictId() {
        return districtId;
    }

    public void setDistrictId(int districtId) {
        this.districtId = districtId;
    }

    public String getOrderNo() {
        return orderNo;
    }

    public void setOrderNo(String orderNo) {
        this.orderNo = orderNo;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getConsignee() {
        return consignee;
    }

    public void setConsignee(String consignee) {
        this.consignee = consignee;
    }

    public String getProvince() {
        return province;
    }

    public void setProvince(String province) {
        this.province = province;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public String getDistrict() {
        return district;
    }

    public void setDistrict(String district) {
        this.district = district;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getPostCode() {
        return postCode;
    }

    public void setPostCode(String postCode) {
        this.postCode = postCode;
    }
}
